package com.yx.pc.api.service.impl;

import com.yx.modules.api.dao.TbInterviewClickRecordDao;
import com.yx.modules.api.entity.TbInterviewClickRecord;
import com.yx.pc.api.service.PcTbInterviewClickRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service
public class PcTbInterviewClickRecordServiceImpl implements PcTbInterviewClickRecordService {
	@Autowired
	private TbInterviewClickRecordDao interviewClickRecordDao;
	
	@Override
	public TbInterviewClickRecord queryObject(Integer id){
		return interviewClickRecordDao.queryObject(id);
	}
	
	@Override
	public List<TbInterviewClickRecord> queryList(Map<String, Object> map){
		return interviewClickRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return interviewClickRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(TbInterviewClickRecord interviewClickRecord){
		interviewClickRecordDao.save(interviewClickRecord);
	}
	
	@Override
	public void update(TbInterviewClickRecord interviewClickRecord){
		interviewClickRecordDao.update(interviewClickRecord);
	}
	
	@Override
	public void delete(Integer id){
		interviewClickRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		interviewClickRecordDao.deleteBatch(ids);
	}

	@Override
	public TbInterviewClickRecord findByUserAnd(Integer userId, Integer id) {
		return interviewClickRecordDao.findByUserAnd(userId,id);
	}

}
